package novel.web;

import java.util.List;

import org.junit.Test;

import novel.spider.entitys.Chapter;
import novel.spider.impl.chapter.DefaultChapterSpider;
import novel.spider.interfaces.IChapterSpider;
import novel.spider.util.ChapterSpiderFactory;

public class testGetChapter {

	@Test
	public void testDefaultChapter()
	{
		List<Chapter>  chapters  = ChapterSpiderFactory.getChapterSpider("https://www.23us.so/files/article/html/14/14056/index.html").getsChapter("https://www.23us.so/files/article/html/14/14056/index.html");
		for (Chapter chapter : chapters) {
			System.out.println(chapter);
		}
	}
}
